package com.agentpad;

import android.app.Activity;
import android.content.Intent;
import android.os.Bundle;
import android.view.View;
import android.view.View.OnClickListener;
import android.widget.AdapterView;
import android.widget.Button;
import android.widget.GridView;
import android.widget.Toast;
import android.widget.AdapterView.OnItemClickListener;


public class Login extends Activity {
	
	private Button mBtnEnter;
	
    /** Called when the activity is first created. */
    @Override
    public void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.login);

        mBtnEnter = (Button)findViewById(R.id.btnEnter);
        mBtnEnter.setOnClickListener(new OnClickListener() {
		        @Override
		        public void onClick(View v) {
		        	DoEnter();
		        }});

    }

	protected void DoEnter() {
		// TODO Auto-generated method stub
    	Intent intent =new Intent();
    	intent.setClass(this, MainActivity.class);   
		startActivity(intent);
		finish();
	
	}
}